STEP 15: The left person danced; let's make the right person dance!
- From LOGIC and , drag Function Call with Parameter to the bottom of your program.
- Change the function name to dance(), and my_var to person3. Click Run to watch the stick figure dance!
The list person3 is being passed into the dance() function, where it is being used as my_list within the function. All of the commands in the loop are then assigned to each sprite in the list, one at a time!
To navigate the page using the TAB key, first press ESC to exit the code editor.